import { S } from '../s';
import { IPSAjaxControlParam } from './ipsajax-control-param';
import { PSControlParamImpl } from './pscontrol-param-impl';

export class PSAjaxControlParamImpl
  extends PSControlParamImpl
  implements IPSAjaxControlParam
{
  get autoLoad(): boolean {
    return this.M.autoLoad;
  }

  get showBusyIndicator(): boolean {
    return this.M.showBusyIndicator;
  }
  get cls(): string {
    return 'PSAjaxControlParamImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._12b) return true;
    return super.instanceof(cls);
  }
}
